<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>模板语法</title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
			<div id="app">
					{{message}}
					<div v-text="message"></div>
					<div v-html="message"></div>
			</div>
	</body>
	<script>
			var vm = new Vue({
				el: '#app',
				data: {
					message: "<h1>测试内容</h1>"
				}
			})
		
	</script>
</html>